-- GENERATED SPELL FOR [Slavering Slave] --


function spell0_23246(pUnit, Event) --@Slimy Spittle,n/a--
pUnit:FullCastSpellOnTarget(40976,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_23246', 5250, 1)
end

function Sorts_23246(pUnit, Event)
local choix_sorts_23246 = math.random(0, 0)
if choix_sorts_23246 == 0 then
pUnit:RegisterEvent('spell0_23246', 1, 1)
end
end

function mob23246_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_23246', math.random(1500, 3000), 1)
end

function mob23246_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob23246_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob23246_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(23246, 1, 'mob23246_Action')
RegisterUnitEvent(23246, 2, 'mob23246_Leave')
RegisterUnitEvent(23246, 3, 'mob23246_Kill')
RegisterUnitEvent(23246, 4, 'mob23246_Die')
